package cn.ly.core.enum1;

import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

public class EnumTest {
	
	public static void main(String[] args) {
		List<String> l = new ArrayList<>();
		MyEnum myEnum = MyEnum.FRONT;
		MyEnum[] ms = myEnum.values();
		switch(myEnum){
		case FRONT :
			myEnum.show();
			break;
		case BACK :
			myEnum.show();
			break;
		case LEFT :
			myEnum.show();
			break;
		case RIGHT :
			myEnum.show();
			break;
		}
		
		try(FileReader fr = new FileReader("");){
			
		} catch (Exception e) {
			e.printStackTrace();
		} 
		
		Thread a;
		/*DirectionEnum d = DirectionEnum.Back;
		switch(d){
			
		}*/
	}

}
